﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UC_Phong_GiaPhong.ascx.cs" Inherits="QuanLyKhachSan.UC_Phong_GiaPhong" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<style type="text/css">
    .comment-center-col
    {
        background: none repeat scroll 0 0 #FAFAFA;
        border: 1px solid #CFD6E0;
        border-radius: 5px 5px 5px 5px;
        color: #313C46;
        float: left;
        font-size: 1.083em;
        padding: 10px 20px;
        position: relative;
        width: 1000px;
        }
     .comment-nav
     {
        background: none repeat scroll 0 0 #F3F5F9;
        border-bottom: 1px solid #CFD6E0;
        border-radius: 5px 5px 0 0;
        font-size: 0.923em;
        list-style: none outside none;
        margin: -10px -20px 10px;
        padding: 12px 20px 10px;
        width: 100%;
         }
    
</style>
 <!-- Danh sach phong-->
     <style type="text/css">
        .comment-right-col
        {
            background: none repeat scroll 0 0 #FAFAFA;
            border: 1px solid #CFD6E0;
            border-radius: 5px 5px 5px 5px;
            color: #313C46;
            float: left;
            font-size: 1.083em;
            padding: 10px 20px;
            position: relative;
            width: 1000px;
            }
         .comment-nav
         {
            background: none repeat scroll 0 0 #F3F5F9;
            border-bottom: 1px solid #CFD6E0;
            border-radius: 5px 5px 0 0;
            font-size: 0.923em;
            list-style: none outside none;
            margin: -10px -20px 10px;
            padding: 12px 20px 10px;
            width: 100%;
             }
        .rp {
            float: left;
            font-weight: 900;
            margin-right: 20px;
            padding-bottom: 10px;
            width: 80px;
        }
    </style>
    <div class="comment-right-col">
        <span class="comment-tail"></span>
        <ul class="comment-nav">                               
            <li style="text-align:left;font-weight:bold;font-family:Tahoma;font-size:12px">Giá phòng</li>
        </ul>
        <telerik:RadGrid ID="dlGiaPhong" runat="server" Skin="Windows7">
            <MasterTableView DataKeyNames="PhongID" AutoGenerateColumns="false" Font-Size="10" GridLines="None" Width="1000">
                <CommandItemSettings ExportToPdfText="Export to Pdf" />   
                <Columns>                   
                    <telerik:GridTemplateColumn HeaderText="Phòng">
                        <ItemTemplate>
                            <%#Eval("PhongName")%>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" Width="150" VerticalAlign="Top" />
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn HeaderText="Giá theo giờ">
                        <ItemTemplate>
                            <%#Format_GiaGio(Eval("GiaGio").ToString())%>   
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" Width="600" VerticalAlign="Top" />
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn HeaderText="Giá theo ngày">
                        <ItemTemplate>
                             <%#Format_NumberVietnamese(Eval("GiaNgay").ToString())%>   
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" Width="250" VerticalAlign="Top" />
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn HeaderText="Giá theo tuần">
                        <ItemTemplate>
                            <%#Format_NumberVietnamese(Eval("GiaTuan").ToString())%>   
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" Width="250" VerticalAlign="Top" />
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn HeaderText="Giá theo tháng">
                        <ItemTemplate>
                            <%#Format_NumberVietnamese(Eval("GiaThang").ToString())%>  
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" Width="250" VerticalAlign="Top" />
                    </telerik:GridTemplateColumn>
                </Columns>                    
            </MasterTableView>          
        </telerik:RadGrid>   
    </div>